package com.healthyeating.manage.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.healthyeating.common.annotation.Excel;
import com.healthyeating.common.core.domain.BaseEntity;

/**
 * 菜单计划对象 tb_menu_plan
 * 
 * @author 段奇乐
 * @date 2025-03-14
 */
public class MenuPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜单计划id，主键自增 */
    private Long menuPlanId;

    /** 菜单计划名称 */
    @Excel(name = "菜单计划名称")
    private String menuPlanName;

    /** 周一计划 */
    private String menuPlanMon;

    /** 周二计划 */
    private String menuPlanTue;

    /** 周三计划 */
    private String menuPlanWed;

    /** 周四计划 */
    private String menuPlanThur;

    /** 周五计划 */
    private String menuPlanFri;

    /** 周六计划 */
    private String menuPlanSat;

    /** 周日计划 */
    private String menuPlanSun;

    /** 菜单执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "菜单执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 菜单结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "菜单结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 所属用户 */
    private Long userId;

    public void setMenuPlanId(Long menuPlanId) 
    {
        this.menuPlanId = menuPlanId;
    }

    public Long getMenuPlanId() 
    {
        return menuPlanId;
    }
    public void setMenuPlanName(String menuPlanName) 
    {
        this.menuPlanName = menuPlanName;
    }

    public String getMenuPlanName() 
    {
        return menuPlanName;
    }
    public void setMenuPlanMon(String menuPlanMon) 
    {
        this.menuPlanMon = menuPlanMon;
    }

    public String getMenuPlanMon() 
    {
        return menuPlanMon;
    }
    public void setMenuPlanTue(String menuPlanTue) 
    {
        this.menuPlanTue = menuPlanTue;
    }

    public String getMenuPlanTue() 
    {
        return menuPlanTue;
    }
    public void setMenuPlanWed(String menuPlanWed) 
    {
        this.menuPlanWed = menuPlanWed;
    }

    public String getMenuPlanWed() 
    {
        return menuPlanWed;
    }
    public void setMenuPlanThur(String menuPlanThur) 
    {
        this.menuPlanThur = menuPlanThur;
    }

    public String getMenuPlanThur() 
    {
        return menuPlanThur;
    }
    public void setMenuPlanFri(String menuPlanFri) 
    {
        this.menuPlanFri = menuPlanFri;
    }

    public String getMenuPlanFri() 
    {
        return menuPlanFri;
    }
    public void setMenuPlanSat(String menuPlanSat) 
    {
        this.menuPlanSat = menuPlanSat;
    }

    public String getMenuPlanSat() 
    {
        return menuPlanSat;
    }
    public void setMenuPlanSun(String menuPlanSun) 
    {
        this.menuPlanSun = menuPlanSun;
    }

    public String getMenuPlanSun() 
    {
        return menuPlanSun;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("menuPlanId", getMenuPlanId())
            .append("menuPlanName", getMenuPlanName())
            .append("menuPlanMon", getMenuPlanMon())
            .append("menuPlanTue", getMenuPlanTue())
            .append("menuPlanWed", getMenuPlanWed())
            .append("menuPlanThur", getMenuPlanThur())
            .append("menuPlanFri", getMenuPlanFri())
            .append("menuPlanSat", getMenuPlanSat())
            .append("menuPlanSun", getMenuPlanSun())
            .append("createTime", getCreateTime())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("remark", getRemark())
            .append("userId", getUserId())
            .toString();
    }
}
